package annotationAop;
import org.springframework.context.support.ClassPathXmlApplicationContext;


public class AnnotationAopMain {

    public static void main(String[] args) {

        ClassPathXmlApplicationContext ctx = new ClassPathXmlApplicationContext("annotationAop.xml");
        UserService userService = (UserService)ctx.getBean("userService");
        userService.shishi("Jack");
    }


}